From: River Tarnell Date: Thu, 9 Sep 2004 23:04:08 +0000 (+0000) Subject: don't parse blank ISBNs X-Git-Tag: 1.5.0alpha1~2036 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=b19e0b60ce8e75d61cfbc3c405464ea767a6eaac;p=lhc%2Fweb%2Fwiklou.git don't parse blank ISBNs --- diff --git a/includes/Parser.php b/includes/Parser.php index f15b4e38d6..be98d71c3a 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2094,6 +2094,7 @@ class Parser $valid = '0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ'; foreach ( $a as $x ) { + if ( $x == '' ) continue; $isbn = $blank = '' ; while ( ' ' == $x{0} ) { $blank .= ' ';